﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tender.Tool.Models
{
    public partial class TedTender
    {
        /// <summary>
        /// 申请ID
        /// </summary>
        public string BillId { get; set; }

        /// <summary>
        /// 招标编号
        /// </summary>
        public string BillNo { get; set; }

        /// <summary>
        /// 申请单位ID
        /// </summary>
        public string ApplyOrgId { get; set; }

        /// <summary>
        /// 申请单位名称
        /// </summary>
        public string ApplyOrgName { get; set; }

        /// <summary>
        /// 招标方式
        /// </summary>
        public int ApplyType { get; set; }

        /// <summary>
        /// 拟招标项目名称
        /// </summary>
        public string ApplyName { get; set; }

        /// <summary>
        /// 招标公告
        /// </summary>
        public string TenderApplyNotice { get; set; }

        /// <summary>
        /// 招标公告id
        /// </summary>
        public string TenderApplyNoticeId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 招标人ID
        /// </summary>
        public string ApplyUserId { get; set; }

        /// <summary>
        /// 招标人名称
        /// </summary>
        public string ApplyUserName { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime BillDate { get; set; }

        /// <summary>
        /// 拟招标金额
        /// </summary>
        public decimal ApplyAmount { get; set; }

        /// <summary>
        /// 单据机构ID
        /// </summary>
        public string OrgId { get; set; }

        /// <summary>
        /// 单据机构
        /// </summary>
        public string OrgName { get; set; }

        /// <summary>
        /// 投标保证金
        /// </summary>
        public decimal Bail { get; set; }

        /// <summary>
        /// 招标项目工程概况
        /// </summary>
        public string Condition { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public decimal TaxRate { get; set; }

        /// <summary>
        /// 税额
        /// </summary>
        public decimal TaxAmount { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 录入人ID
        /// </summary>
        public string Recorder { get; set; }

        /// <summary>
        /// 录入人
        /// </summary>
        public string RecorderName { get; set; }

        /// <summary>
        /// 最后修改人ID
        /// </summary>
        public string LastmodifyId { get; set; }

        /// <summary>
        /// 最后修改人名字
        /// </summary>
        public string LastmodifyName { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime LastmodifyDate { get; set; }

        /// <summary>
        /// oldworkid
        /// </summary>
        public string OldWorkId { get; set; }

        /// <summary>
        /// workid
        /// </summary>
        public string WorkId { get; set; }

        /// <summary>
        /// 招标需求陈述
        /// </summary>
        public string Demand { get; set; }

        /// <summary>
        /// 招标类别
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 招标类别 0劳务合作1施工分包
        /// </summary>
        public int TenderCategory { get; set; }

        /// <summary>
        /// 目标预算id
        /// </summary>
        public string BudgetId { get; set; }

        /// <summary>
        /// 目标预算名称
        /// </summary>
        public string BudgetName { get; set; }

        /// <summary>
        /// 运费税额
        /// </summary>
        public decimal FreightTaxRate { get; set; }

        /// <summary>
        /// 运费税率
        /// </summary>
        public decimal FreightTaxAmount { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        public int Version { get; set; }

        /// <summary>
        /// 工程概况id
        /// </summary>
        public string ProjectId { get; set; }

        public byte[] TimeStamp { get; set; }

        /// <summary>
        /// 合同类别
        /// </summary>
        public int ContractType { get; set; }

        public string OldBillId { get; set; }

        /// <summary>
        /// 租赁类型
        /// </summary>
        public int LeaseType { get; set; }

        /// <summary>
        /// 发布状态
        /// </summary>
        public int ReleaseStatus { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        public string CurrencyId { get; set; }

        public string Currency { get; set; }

        /// <summary>
        /// 本位币
        /// </summary>
        public string ScdicValueName { get; set; }

        /// <summary>
        /// 本位币Id
        /// </summary>
        public string ScdicValue { get; set; }

        /// <summary>
        /// 人民币汇率
        /// </summary>
        public decimal Rmbrate { get; set; }

        /// <summary>
        /// 本位币汇率
        /// </summary>
        public decimal Scrate { get; set; }

        /// <summary>
        /// 招标金额(人民币)
        /// </summary>
        public decimal Rmbamount { get; set; }

        /// <summary>
        /// 招标金额(本位币)
        /// </summary>
        public decimal Scamount { get; set; }

        /// <summary>
        /// 是否是集中采购
        /// </summary>
        public int IsCentralized { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        public string ReleaseTime { get; set; }

        /// <summary>
        /// 履约保证金
        /// </summary>
        public decimal ExercisePrice { get; set; }

        /// <summary>
        /// 评标方式
        /// </summary>
        public int EvaluationMethods { get; set; }

        /// <summary>
        /// 中标金额
        /// </summary>
        public decimal AcceptedAmount { get; set; }

        /// <summary>
        /// 招标截止日期
        /// </summary>
        public DateTime TenderEndDate { get; set; }

        /// <summary>
        /// 是否发布到招采平台
        /// </summary>
        public int IsTenderPlat { get; set; }

        /// <summary>
        /// 缴纳保证金
        /// </summary>
        public int PayPerBondAmount { get; set; }

        /// <summary>
        /// 购买标书费用
        /// </summary>
        public int PayBiaoShuAmount { get; set; }
    }

}
